package com.mlc.data.entity;

import lombok.*;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.util.Date;

/**
 * @author FireWang
 * @date 2022/03/14 02:46:46
 */
@Entity
@Table(name = "singers")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@ToString
@EntityListeners(AuditingEntityListener.class)
public class Singers {
    
        @Id
        @GeneratedValue(strategy = GenerationType.IDENTITY)
        @Basic
        private Integer id;
    
        @Basic
        private String singerName;
    
        @Basic
        private String photoPath;
    
        @Basic
        private Integer singerType;
    
        @Basic
        private Integer placeType;
    
        @Basic
        private Integer pickCount;
    
        @Basic
        private String remark;
}
